home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 9 / bgc13.zip / BGC.DOC next >
Text File  |  1991-07-09  |  4KB  |  96 lines

  1. BGC - BIBL Global Change                                    release 1.2
  2. =======================================================================
  3.  
  4.         [Please read this entire file before using the program]
  5.  
  6. Several BIBL users have asked for a utility that would perform GLOBAL
  7. find & replaces across the database.  Maybe they used some text in the
  8. note field and now want to change that text to something else in every
  9. record where the original text appears.  BGC will do this for you.
  10.  
  11. The functionality of the program is in many ways similar to the old
  12. Subject Global Change function that used was built into BIBL up
  13. through release 5.24, but there are some things you need to watch
  14. out for:
  15.  
  16. 1. BGC requires that the case of the text you want to find (and
  17.    eventuall replace) must match EXACTLY the text that appears
  18.    in the record. If your record has COMPUTERS as the subject,
  19.    and you enter Computers, it won't match and no replacement
  20.    will be made.
  21.  
  22. 2. Be advised that every occurrence of the text you seek in a given
  23.    field will be changed wherever it appears.  This can be a real
  24.    nightmare if you elect to change a short word--one that also
  25.    appears as part of a larger word in the same field. If you ask
  26.    to change NETWORK to LAN and you also have the term NETWORKING
  27.    in the same field, you'll end up with LANWORKING for
  28.    NETWORKING!
  29.  
  30.    You are not limited to whole word changes (if the text you enter
  31.    happens to match a few letters inside another word in that field,
  32.    it will be changed. Again, think your change through before
  33.    you begin.
  34.  
  35. 3. It is possible that the length of your replacement term(s) will
  36.    force the truncation of the field.  For example, if your descriptor
  37.    field is presently 60 characters and you change one 5 letter word
  38.    to a 15 letter word, the field would now be 75 characters long...
  39.    so the last 5 characters of your field after the 5 letter word
  40.    becomes a 15 letter one will be chopped off.
  41.  
  42. 4. There is no UNDO feature...that's why a back up of your database
  43.    should be made before you begin a BGC session.
  44.  
  45. 5. If you make *any* change to the author, title, subject, or
  46.    descriptor fields during a BGC session, the program will automatically
  47.    rebuild all the indexes used by BIBL (e.g., the entire BIBL5.IX file).
  48.  
  49.  
  50.  
  51. 6. It is quite possible, particularly when editing the DESCRIPTOR field,
  52. to set off a sort of endless loop in finding/replacing.  For example,
  53. if you have the following descriptor field in your database:
  54.  
  55.              Programming Software Turbo-Pascal PC Tutorial
  56.  
  57. and you want to change the PC to IBM-PC, the following could happen:
  58.  
  59. BGC changes PC to IBM-PC, then looks again at the field to see if there
  60. are any more occurrences.  It 'sees' the PC that now follows IBM-PC and
  61. changes it.  You now have IBM-IBM-PC. and so on until the field fills up.
  62.  
  63. To avoid this, put a space before and after the PC you enter as the
  64. text to change.  When BGC makes the first change, it will not find
  65. another _PC_ in the field.  BE SURE TO ALSO PUT SPACES ON EITHER
  66. SIDE OF THE TEXT YOU ENTER AS THE REPLACEMENT!  Otherwise, to continue
  67. with our original example, you'll end up with:
  68.  
  69.             Programming Software Turbo-PascalIBM-PCTutorial
  70.  
  71.           In short, BGC is powerful and obedient, but STUPID!
  72.  
  73.                            How does it work?
  74.  
  75. BGC first asks for the field you want to modify, then asks for the
  76. text to find and change.  Next you'll be asked for the substitution
  77. text.  You can, if desired, have the program first count the number
  78. of records that will be affected by the change.  We recommend you accept
  79. this offer of counting, as it can help alert you to those times when
  80. ambiguity on your part might cause BGC to change more than you were
  81. expecting.
  82.  
  83. We highly recommend that you first make a backup copy of your BIBL5.DAT
  84. and BIBL5.IX files before using BGC...this way, if you accidentally
  85. corrupt your database with an ill-advised change, you can go back to
  86. the way things were.
  87.  
  88. Finally, DO NOT run BGC from the DOS shell within BIBL!
  89.  
  90. BGC must be in the same sub-directory with BIBL5.DAT and BIBL5.IX to
  91. operate.
  92.  
  93. =======================================================================
  94.      GMUtant OnLine BBS :: 703-993-2219  9600 v.32   24 hours a day
  95.  
  96.